﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhaoxi.CSharpDemo.CSharp5
{
    public class UserInfo
    {
        public string? Name { get; set; }

        public int Age { get; set; }

        //public string GetUserName()
        //{ 
            
        //}


        public string GetUserName() => this.Name;

        public Task Show()
        {
            return Task.FromResult(0);
        }

        public async Task ShowAsync()
        {
            await Task.FromResult(0);
        }
    }
}
